Questions tagged [algorithm]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
1answer
32 views

Apex-optimized algorithm for “road atlas city distance matrix” style utility data? [closed]

I'd like to automate a business process that currently involves a road-atlas-style "distance chart" as seen here. When an employee is hand-reviewing records for deduplication, if a given "status" ...
-1
votes
1answer
37 views

Creating fulsome combinations of list elements

I have been having some issues getting the logic down for the following: Simplifying, I have an N-element list of Skids defined as: public class Skid { public Integer length { get; set; } ...
0
votes
1answer
29 views

Can I do this part of code shorter and cleaner? How?

Help me please: I want to make this part of code shorter. Maybe with a few methods. But I don't know how to do that with using SOQL. To many double-parts are here. public List<Item__c> ...
2
votes
1answer
342 views

Split a List to create a separate list while satisfying 2 conditions.

I have a list (List A in image) of Cases. Each case record has a field 'External Id'. I have to create a separate List such that, for all cases which has the same F-ID's, it should take the case ...
1
vote
1answer
364 views

Sketch of heap usage prior to algorithm implementation

I'm trying to have an idea of what would be the heap usage of a certain algorithm in Salesforce, given different inputs in order to determine if I should implement it async or sync. I am aware that ...
0
votes
1answer
687 views

encrypted password to plain text password Using 3DES algorithm [closed]

How to convert encrypted passwod to plain text password? please any one give some idea for this. I have a AES256 algorithm as given below. I need 3DES algorithm . Blob cryptoKey = Crypto....
2
votes
1answer
94 views

Does Crypto class support SHA384?

We are calling a service from salesforce. This service is expecting a specific hash in the httpHeaders collection of the HTTP Request. The service is written in .NET and the hash is computed using ...